package com.cmict.data.system.mq.message.auth;

import com.cmict.data.framework.mq.core.pubsub.AbstractChannelMessage;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * OAuth 2.0 客户端的数据刷新 Message
 *
 */
//@Data
//@EqualsAndHashCode(callSuper = true)
//public class OAuth2ClientRefreshMessage extends RemoteApplicationEvent {
//
//    public OAuth2ClientRefreshMessage() {
//    }
//
//    public OAuth2ClientRefreshMessage(Object source, String originService, String destinationService) {
//        super(source, originService, destinationService);
//    }
//
//}
@Data
@EqualsAndHashCode(callSuper = true)
public class OAuth2ClientRefreshMessage extends AbstractChannelMessage {

    @Override
    public String getChannel() {
        return "system.oauth2-client.refresh";
    }

}